package Chapter02.Homework;

import java.util.Scanner;

public class Work02 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入作业格式：");
        String num=input.next();
        if(num.endsWith("zip")||num.endsWith("rar")){
            System.out.println("合适");
        }else{
            System.out.println("不合适，要改");
        }
    }
}
